package com.anjbo.config;

import com.anjbo.aspect.ResponseAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration
@EnableAspectJAutoProxy(proxyTargetClass=true)
public class AOPConfig {

    @Bean
    public ResponseAspect resultWrappedAspect(){
        return new ResponseAspect();
    }

}
